<template>
	<div>
		<van-nav-bar
		  title="下单"
			left-text="返回"
			 @click-left="handleLeftClick"
		/>
	</div>
</template>

<script>
	export default{
		methods:{
			handleLeftClick(){
				this.$router.history.go(-1)
			}
		},
		created(){
			let formData = this.$route.params.formData;
			if(formData == undefined){
				formData = JSON.parse(sessionStorage.orderData1)
			}
			sessionStorage.orderData1 = JSON.stringify(formData)
			console.log(formData)
		}
	}
</script>

<style>
</style>
